import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IPlayerPrx } from "./IPlayerPrx";
import { AMI_IPlayer_activeLock } from "./AMI_IPlayer_activeLock";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqStringHelper } from "../Public/SeqStringHelper";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IPlayer_answerLockQuestions } from "./AMI_IPlayer_answerLockQuestions";
import { AMI_IPlayer_answerQuestion } from "./AMI_IPlayer_answerQuestion";
import { AMI_IPlayer_buyActivePrevilegeGiftBag } from "./AMI_IPlayer_buyActivePrevilegeGiftBag";
import { AMI_IPlayer_canChangeCampAfterDays } from "./AMI_IPlayer_canChangeCampAfterDays";
import { AMI_IPlayer_canChangeSexAfterDays } from "./AMI_IPlayer_canChangeSexAfterDays";
import { AMI_IPlayer_changeCamp } from "./AMI_IPlayer_changeCamp";
import { AMI_IPlayer_changeSex } from "./AMI_IPlayer_changeSex";
import { AMI_IPlayer_clearContinuousLoad } from "./AMI_IPlayer_clearContinuousLoad";
import { AMI_IPlayer_clearLock } from "./AMI_IPlayer_clearLock";
import { AMI_IPlayer_commitIssm } from "./AMI_IPlayer_commitIssm";
import { AMI_IPlayer_dragonGetDiceCount } from "./AMI_IPlayer_dragonGetDiceCount";
import { AMI_IPlayer_dragonGetPosInfo } from "./AMI_IPlayer_dragonGetPosInfo";
import { AMI_IPlayer_dragonGo } from "./AMI_IPlayer_dragonGo";
import { AMI_IPlayer_dragonReach } from "./AMI_IPlayer_dragonReach";
import { AMI_IPlayer_drawActivityActive } from "./AMI_IPlayer_drawActivityActive";
import { AMI_IPlayer_drawArenaMoney } from "./AMI_IPlayer_drawArenaMoney";
import { AMI_IPlayer_drawVIPRewards } from "./AMI_IPlayer_drawVIPRewards";
import { AMI_IPlayer_endModelChange } from "./AMI_IPlayer_endModelChange";
import { AMI_IPlayer_favoriteGame } from "./AMI_IPlayer_favoriteGame";
import { AMI_IPlayer_find } from "./AMI_IPlayer_find";
import { AMI_IPlayer_findCross } from "./AMI_IPlayer_findCross";
import { AMI_IPlayer_getActiveNumberReward } from "./AMI_IPlayer_getActiveNumberReward";
import { AMI_IPlayer_getActivityReward } from "./AMI_IPlayer_getActivityReward";
import { AMI_IPlayer_getAvatarInfo } from "./AMI_IPlayer_getAvatarInfo";
import { AMI_IPlayer_getConsumeCountGiftBag } from "./AMI_IPlayer_getConsumeCountGiftBag";
import { AMI_IPlayer_getConsumeDayGiftBag } from "./AMI_IPlayer_getConsumeDayGiftBag";
import { AMI_IPlayer_getConsumeYBRetReward } from "./AMI_IPlayer_getConsumeYBRetReward";
import { AMI_IPlayer_getContinuousLoadReward } from "./AMI_IPlayer_getContinuousLoadReward";
import { AMI_IPlayer_getDayRechargeGiftBag } from "./AMI_IPlayer_getDayRechargeGiftBag";
import { AMI_IPlayer_getHolidayRetGiftBag } from "./AMI_IPlayer_getHolidayRetGiftBag";
import { AMI_IPlayer_getHolidaySign } from "./AMI_IPlayer_getHolidaySign";
import { AMI_IPlayer_getLockQuestions } from "./AMI_IPlayer_getLockQuestions";
import { AMI_IPlayer_getLuckyItem } from "./AMI_IPlayer_getLuckyItem";
import { AMI_IPlayer_getMergeRechargeGiftBag } from "./AMI_IPlayer_getMergeRechargeGiftBag";
import { AMI_IPlayer_getNewCumulateRechargeGiftBag } from "./AMI_IPlayer_getNewCumulateRechargeGiftBag";
import { AMI_IPlayer_getNewDayRechargeGiftBag } from "./AMI_IPlayer_getNewDayRechargeGiftBag";
import { AMI_IPlayer_getNpcAward } from "./AMI_IPlayer_getNpcAward";
import { AMI_IPlayer_getOpenRechargeGiftBag } from "./AMI_IPlayer_getOpenRechargeGiftBag";
import { AMI_IPlayer_getOpenRechargeGiftBagEx } from "./AMI_IPlayer_getOpenRechargeGiftBagEx";
import { AMI_IPlayer_getOrSaveMoney } from "./AMI_IPlayer_getOrSaveMoney";
import { AMI_IPlayer_getReward } from "./AMI_IPlayer_getReward";
import { AMI_IPlayer_getSevenDayLoginReward } from "./AMI_IPlayer_getSevenDayLoginReward";
import { AMI_IPlayer_getTotalLoadExtraReward } from "./AMI_IPlayer_getTotalLoadExtraReward";
import { AMI_IPlayer_getTotalLoadReward } from "./AMI_IPlayer_getTotalLoadReward";
import { AMI_IPlayer_getVipGiftBag360 } from "./AMI_IPlayer_getVipGiftBag360";
import { AMI_IPlayer_hadGetConsumeCountGiftBag } from "./AMI_IPlayer_hadGetConsumeCountGiftBag";
import { AMI_IPlayer_hadGetConsumeDayGiftBag } from "./AMI_IPlayer_hadGetConsumeDayGiftBag";
import { AMI_IPlayer_hadGetMergeRechargeGiftBag } from "./AMI_IPlayer_hadGetMergeRechargeGiftBag";
import { AMI_IPlayer_hadGetOpenRechargeGiftBag } from "./AMI_IPlayer_hadGetOpenRechargeGiftBag";
import { AMI_IPlayer_handInMaterial } from "./AMI_IPlayer_handInMaterial";
import { DictStrIntHelper } from "../Public/DictStrIntHelper";
import { AMI_IPlayer_holidayRetGiftBagStatus } from "./AMI_IPlayer_holidayRetGiftBagStatus";
import { AMI_IPlayer_holidaySignStatus } from "./AMI_IPlayer_holidaySignStatus";
import { AMI_IPlayer_modifyLock } from "./AMI_IPlayer_modifyLock";
import { AMI_IPlayer_openLuckyBag } from "./AMI_IPlayer_openLuckyBag";
import { AMI_IPlayer_replaceAvatar } from "./AMI_IPlayer_replaceAvatar";
import { AMI_IPlayer_saveAutoFightSetting } from "./AMI_IPlayer_saveAutoFightSetting";
import { AMI_IPlayer_saveClientSetting } from "./AMI_IPlayer_saveClientSetting";
import { AMI_IPlayer_saveShortcut } from "./AMI_IPlayer_saveShortcut";
import { AMI_IPlayer_saveSysSetting } from "./AMI_IPlayer_saveSysSetting";
import { AMI_IPlayer_saveSysShortcut } from "./AMI_IPlayer_saveSysShortcut";
import { AMI_IPlayer_setLock } from "./AMI_IPlayer_setLock";
import { AMI_IPlayer_setLockStatus } from "./AMI_IPlayer_setLockStatus";
import { ELockStatus } from "./ELockStatus";
import { AMI_IPlayer_startVIPBless } from "./AMI_IPlayer_startVIPBless";
import { AMI_IPlayer_stopVIPBless } from "./AMI_IPlayer_stopVIPBless";
import { AMI_IPlayer_throwExpDice } from "./AMI_IPlayer_throwExpDice";
import { AMI_IPlayer_updatePlayerName } from "./AMI_IPlayer_updatePlayerName";
import { AMI_IPlayer_usePromotionCard } from "./AMI_IPlayer_usePromotionCard";
import { AMI_IPlayer_viewActivePrevilege } from "./AMI_IPlayer_viewActivePrevilege";
import { AMI_IPlayer_viewNewCumulateRechargeGiftBag } from "./AMI_IPlayer_viewNewCumulateRechargeGiftBag";
import { AMI_IPlayer_viewNewDayRechargeGiftBag } from "./AMI_IPlayer_viewNewDayRechargeGiftBag";
import { AMI_IPlayer_visitSites } from "./AMI_IPlayer_visitSites";
type int = number;
//class IPlayerPrxHelper
    
    export  class IPlayerPrxHelper extends RMIProxyObject implements IPlayerPrx
    {
        constructor()
        {
            
            super();name = "IPlayer";
            return;
        }

        public activeLock_async(arg1: AMI_IPlayer_activeLock, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("activeLock");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public answerLockQuestions_async(arg1: AMI_IPlayer_answerLockQuestions, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("answerLockQuestions");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public answerQuestion_async(arg1: AMI_IPlayer_answerQuestion, arg2: int, arg3: int, arg4: string, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("answerQuestion");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public buyActivePrevilegeGiftBag_async(arg1: AMI_IPlayer_buyActivePrevilegeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("buyActivePrevilegeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public canChangeCampAfterDays_async(arg1: AMI_IPlayer_canChangeCampAfterDays): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("canChangeCampAfterDays");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public canChangeSexAfterDays_async(arg1: AMI_IPlayer_canChangeSexAfterDays): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("canChangeSexAfterDays");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeCamp_async(arg1: AMI_IPlayer_changeCamp, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeCamp");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeSex_async(arg1: AMI_IPlayer_changeSex, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeSex");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public clearContinuousLoad_async(arg1: AMI_IPlayer_clearContinuousLoad): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("clearContinuousLoad");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public clearLock_async(arg1: AMI_IPlayer_clearLock, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("clearLock");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public commitIssm_async(arg1: AMI_IPlayer_commitIssm, arg2: string, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("commitIssm");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dragonGetDiceCount_async(arg1: AMI_IPlayer_dragonGetDiceCount): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dragonGetDiceCount");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dragonGetPosInfo_async(arg1: AMI_IPlayer_dragonGetPosInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dragonGetPosInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dragonGo_async(arg1: AMI_IPlayer_dragonGo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dragonGo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dragonReach_async(arg1: AMI_IPlayer_dragonReach): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dragonReach");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawActivityActive_async(arg1: AMI_IPlayer_drawActivityActive): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawActivityActive");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawArenaMoney_async(arg1: AMI_IPlayer_drawArenaMoney): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawArenaMoney");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public drawVIPRewards_async(arg1: AMI_IPlayer_drawVIPRewards, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("drawVIPRewards");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public endModelChange_async(arg1: AMI_IPlayer_endModelChange): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("endModelChange");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public favoriteGame_async(arg1: AMI_IPlayer_favoriteGame): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("favoriteGame");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public find_async(arg1: AMI_IPlayer_find, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("find");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public findCross_async(arg1: AMI_IPlayer_findCross, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("findCross");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getActiveNumberReward_async(arg1: AMI_IPlayer_getActiveNumberReward, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getActiveNumberReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getActivityReward_async(arg1: AMI_IPlayer_getActivityReward, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getActivityReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getAvatarInfo_async(arg1: AMI_IPlayer_getAvatarInfo, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getAvatarInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getConsumeCountGiftBag_async(arg1: AMI_IPlayer_getConsumeCountGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getConsumeCountGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getConsumeDayGiftBag_async(arg1: AMI_IPlayer_getConsumeDayGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getConsumeDayGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getConsumeYBRetReward_async(arg1: AMI_IPlayer_getConsumeYBRetReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getConsumeYBRetReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getContinuousLoadReward_async(arg1: AMI_IPlayer_getContinuousLoadReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getContinuousLoadReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getDayRechargeGiftBag_async(arg1: AMI_IPlayer_getDayRechargeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getDayRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getHolidayRetGiftBag_async(arg1: AMI_IPlayer_getHolidayRetGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getHolidayRetGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getHolidaySign_async(arg1: AMI_IPlayer_getHolidaySign, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getHolidaySign");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLockQuestions_async(arg1: AMI_IPlayer_getLockQuestions): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLockQuestions");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getLuckyItem_async(arg1: AMI_IPlayer_getLuckyItem, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getLuckyItem");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getMergeRechargeGiftBag_async(arg1: AMI_IPlayer_getMergeRechargeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getMergeRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getNewCumulateRechargeGiftBag_async(arg1: AMI_IPlayer_getNewCumulateRechargeGiftBag, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getNewCumulateRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getNewDayRechargeGiftBag_async(arg1: AMI_IPlayer_getNewDayRechargeGiftBag, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getNewDayRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getNpcAward_async(arg1: AMI_IPlayer_getNpcAward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getNpcAward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getOpenRechargeGiftBag_async(arg1: AMI_IPlayer_getOpenRechargeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getOpenRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getOpenRechargeGiftBagEx_async(arg1: AMI_IPlayer_getOpenRechargeGiftBagEx, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getOpenRechargeGiftBagEx");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getOrSaveMoney_async(arg1: AMI_IPlayer_getOrSaveMoney, arg2: Boolean, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getOrSaveMoney");
            var loc3;
            (loc3 = new SerializeStream()).writeBool(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getReward_async(arg1: AMI_IPlayer_getReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSevenDayLoginReward_async(arg1: AMI_IPlayer_getSevenDayLoginReward, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSevenDayLoginReward");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTotalLoadExtraReward_async(arg1: AMI_IPlayer_getTotalLoadExtraReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTotalLoadExtraReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTotalLoadReward_async(arg1: AMI_IPlayer_getTotalLoadReward): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTotalLoadReward");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getVipGiftBag360_async(arg1: AMI_IPlayer_getVipGiftBag360, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getVipGiftBag360");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hadGetConsumeCountGiftBag_async(arg1: AMI_IPlayer_hadGetConsumeCountGiftBag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hadGetConsumeCountGiftBag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hadGetConsumeDayGiftBag_async(arg1: AMI_IPlayer_hadGetConsumeDayGiftBag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hadGetConsumeDayGiftBag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hadGetMergeRechargeGiftBag_async(arg1: AMI_IPlayer_hadGetMergeRechargeGiftBag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hadGetMergeRechargeGiftBag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public hadGetOpenRechargeGiftBag_async(arg1: AMI_IPlayer_hadGetOpenRechargeGiftBag): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("hadGetOpenRechargeGiftBag");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public handInMaterial_async(arg1: AMI_IPlayer_handInMaterial, arg2: Map<any, any> /* flash.utils.Dictionary */, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("handInMaterial");
            var loc3=new SerializeStream();
            DictStrIntHelper.write(loc3, arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public holidayRetGiftBagStatus_async(arg1: AMI_IPlayer_holidayRetGiftBagStatus): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("holidayRetGiftBagStatus");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public holidaySignStatus_async(arg1: AMI_IPlayer_holidaySignStatus): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("holidaySignStatus");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyLock_async(arg1: AMI_IPlayer_modifyLock, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyLock");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public openLuckyBag_async(arg1: AMI_IPlayer_openLuckyBag, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("openLuckyBag");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public replaceAvatar_async(arg1: AMI_IPlayer_replaceAvatar, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("replaceAvatar");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public saveAutoFightSetting_async(arg1: AMI_IPlayer_saveAutoFightSetting, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("saveAutoFightSetting");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public saveClientSetting_async(arg1: AMI_IPlayer_saveClientSetting, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("saveClientSetting");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public saveShortcut_async(arg1: AMI_IPlayer_saveShortcut, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("saveShortcut");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public saveSysSetting_async(arg1: AMI_IPlayer_saveSysSetting, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("saveSysSetting");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public saveSysShortcut_async(arg1: AMI_IPlayer_saveSysShortcut, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("saveSysShortcut");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setLock_async(arg1: AMI_IPlayer_setLock, arg2: Array<any>): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setLock");
            var loc3=new SerializeStream();
            SeqStringHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public setLockStatus_async(arg1: AMI_IPlayer_setLockStatus, arg2: ELockStatus, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("setLockStatus");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public startVIPBless_async(arg1: AMI_IPlayer_startVIPBless): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("startVIPBless");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public stopVIPBless_async(arg1: AMI_IPlayer_stopVIPBless): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("stopVIPBless");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public throwExpDice_async(arg1: AMI_IPlayer_throwExpDice, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("throwExpDice");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updatePlayerName_async(arg1: AMI_IPlayer_updatePlayerName, arg2: string, arg3: int, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updatePlayerName");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public usePromotionCard_async(arg1: AMI_IPlayer_usePromotionCard, arg2: number, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("usePromotionCard");
            var loc3;
            (loc3 = new SerializeStream()).writeLong(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public viewActivePrevilege_async(arg1: AMI_IPlayer_viewActivePrevilege): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("viewActivePrevilege");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public viewNewCumulateRechargeGiftBag_async(arg1: AMI_IPlayer_viewNewCumulateRechargeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("viewNewCumulateRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public viewNewDayRechargeGiftBag_async(arg1: AMI_IPlayer_viewNewDayRechargeGiftBag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("viewNewDayRechargeGiftBag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public visitSites_async(arg1: AMI_IPlayer_visitSites, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("visitSites");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IPlayer";
    }
